package com.xxw.yygh.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxw.yygh.model.user.UserInfo;
import com.xxw.yygh.vo.user.LoginVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxw.yygh.vo.user.UserInfoQueryVo;

import java.util.Map;

/**
 * 用户表(UserInfo)表服务接口
 *
 * @author makejava
 * @since 2023-03-01 11:28:56
 */
public interface UserInfoService extends IService<UserInfo> {

    Map<String, Object> login(LoginVo loginVo);

    UserInfo getUserInfo(Long userId);

    Page<UserInfo> getUserInfoPage(Integer pageNum, Integer limit, UserInfoQueryVo userInfoQueryVo);

    void updateStatus(Long id, Integer status);

    Map<String, Object> detail(Long id);
}

